cmake_minimum_required(VERSION 2.6)

PROJECT(PETAC) 
FIND_PACKAGE(ITK) 
IF(ITK_FOUND) 
INCLUDE(${ITK_USE_FILE}) 
ELSE(ITK_FOUND) 
MESSAGE(FATAL_ERROR 
"ITK not found. Please set ITK_DIR.") 
ENDIF(ITK_FOUND) 
ADD_EXECUTABLE(petac petac.cxx ) 
TARGET_LINK_LIBRARIES(petac ITKCommon ITKAlgorithms ITKIO) 

ADD_EXECUTABLE(DicomSeriesReadImageWrite2 DicomSeriesReadImageWrite2.cxx ) 
TARGET_LINK_LIBRARIES(DicomSeriesReadImageWrite2 ITKCommon ITKAlgorithms ITKIO) 

